import { http } from "@/utils/http";
import { baseUrlApi } from "./utils";

export default {
  getFileList: params => {
    //获取文件列表
    return http.request<any>("get", baseUrlApi("/file"), { params });
  },
  getFileFoldersAdd: data => {
    //新增文件夹
    return http.request<any>("post", baseUrlApi("/file/folders"), { data });
  }
};
